package com.scwatch.ext.service;

import com.scwatch.ext.domain.CityConfig;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

import java.util.List;
import java.util.Map;

public interface CityConfigService {

    List<CityConfig> findList(Integer siteId, Map<String, String[]> params,
                             Sort sort);
    Page<CityConfig> findAll(Integer siteId, Map<String, String[]> params, Pageable pageable);

    CityConfig get(Integer id);

    CityConfig save(CityConfig bean);

    CityConfig update(CityConfig bean);

    CityConfig[] delete(Integer[] ids);


}
